package t327.mapper;

import org.apache.ibatis.annotations.Select;
import t327.pojo.*;
import t327.pojo.views.ProductionPlanOrderSizeDepartmentView;
import t327.pojo.views.StoreAreaWarehouseView;

import java.util.List;

public interface ProQuaMapper {
    //   查询
    List<ProductionPlanOrderSizeDepartmentView>getProQuaAll();
    //质检逻辑视图删除
    int deleteByLogicDel(Long productionPlanId);
    //质检添加
    int addProQuaAll(Store store);
    //质检添加关系表
    int addProQductPlan(ProductionPlan productionPlan);
    List<OrderForm> queryOrderForm();
    List<ProductDetail> queryProductDetail();
    List<Store> queryStore();

    //添加查询
    List<Submission> getSubmissionAll();
    //仓库查询
    List<StoreAreaWarehouseView> getStoreAreaWarehouseView();
    //layui仓库查询
    List<StoreAreaWarehouseView> togetStoreAreaWarehouseViewAll();
    //申请入库
    int addstoreAreaWare(Store store);
    //查询缝纫昨天的数量
    @Select("select * from submission where department_id=2 and logic_del=logic_del=0")
    Submission querysubmission();
}
